package com.machine.dao.order;

import java.util.List;

import org.hibernate.Query;
import org.hibernate.Session;

import com.machine.bean.OrderForm;

public interface OrderDao {

	public List<OrderForm> findOrder(String providerName,String buyName,int offset, int length);

	public int addOrder(OrderForm orderForm);

	public int updateOrder(OrderForm orderForm);

	public int delOrder(OrderForm orderForm);

	public int deleteByIdList(List<Integer> list);

	public int getAllRowCount(String hql);
	public OrderForm findById(Integer id);
	public List queryForPage(String providerName,String buyName,int offset, int length);
	
}
